home *** CD-ROM | disk | FTP | other *** search
/ Risc World 5 / Risc World 5.iso / SOFTWARE / Issue3 / Games / xrick / !xrick / include / h / draw < prev    next >
Text File  |  2004-06-24  |  1KB  |  55 lines

  1. /*
  2.  * xrick/include/draw.h
  3.  *
  4.  * Copyright (C) 1998-2002 BigOrno (bigorno@bigorno.net). All rights reserved.
  5.  *
  6.  * The use and distribution terms for this software are contained in the file
  7.  * named README, which can be found in the root of this distribution. By
  8.  * using this software in any fashion, you are agreeing to be bound by the
  9.  * terms of this license.
  10.  *
  11.  * You must not remove this notice, or any other, from this software.
  12.  */
  13.  
  14. #ifndef _DRAW_H
  15. #define _DRAW_H
  16.  
  17. #include "system.h"
  18.  
  19. #include "rects.h"
  20. #include "img.h"
  21.  
  22. /* map coordinates of the screen */
  23. #define DRAW_XYMAP_SCRLEFT (-0x0020)
  24. #define DRAW_XYMAP_SCRTOP (0x0040)
  25. /* map coordinates of the top of the hidden bottom of the map */
  26. #define DRAW_XYMAP_HBTOP (0x0100)
  27.  
  28. extern U8 *draw_tllst;
  29. #ifdef GFXPC
  30. extern U16 draw_filter;
  31. #endif
  32. extern U8 draw_tilesBank;
  33. extern rect_t draw_STATUSRECT;
  34. extern rect_t draw_SCREENRECT;
  35.  
  36. extern void draw_setfb(U16, U16);
  37. extern U8 draw_clipms(S16 *, S16 *, U16 *, U16 *);
  38. extern void draw_tilesList(void);
  39. extern void draw_tilesListImm(U8 *);
  40. extern U8 draw_tilesSubList(void);
  41. extern void draw_tile(register U8);
  42. extern void draw_sprite(U8, U16, U16);
  43. extern void draw_sprite2(U8, U16, U16, U8);
  44. extern void draw_spriteBackground(U16, U16);
  45. extern void draw_map(void);
  46. extern void draw_drawStatus(void);
  47. extern void draw_clearStatus(void);
  48. extern void draw_pic(U16, U16, U16, U16, U32 *);
  49. extern void draw_infos(void);
  50. extern void draw_img(img_t *);
  51.  
  52. #endif
  53.  
  54. /* eof */
  55.